package com.smart.entity.business;


import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.smart.model.excel.annotation.ExcelField;
import com.smart.model.excel.annotation.ExcelFields;
import com.smart.mybatis.entity.BaseEntity;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.FieldNameConstants;
import lombok.NoArgsConstructor;

/**
 * 公司1
 *
 * @author wf
 * @since 2025-07-21 13:06:18
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@FieldNameConstants
@TableName("sys_company_1_1")
@ExcelFields({
        @ExcelField(title = "关联点位id", attrName = "pointId",  align = ExcelField.Align.CENTER, sort = 1),
        @ExcelField(title = "采集器号", attrName = "collectorNumber",  align = ExcelField.Align.CENTER, sort = 2),
        @ExcelField(title = "累计值", attrName = "cumulativeValue",  align = ExcelField.Align.CENTER, sort = 3),
        @ExcelField(title = "消耗值", attrName = "consumptionValue",  align = ExcelField.Align.CENTER, sort = 4),
        @ExcelField(title = "累计流量", attrName = "totalFlow",  align = ExcelField.Align.CENTER, sort = 5),
        @ExcelField(title = "采集时间", attrName = "pickTime",  align = ExcelField.Align.CENTER, sort = 6)
})
public class CompanyDataEntity extends BaseEntity {
	private static final long serialVersionUID = 1L;
	/**
	 * 关联点位id
	 */
    private String pointId;
	/**
	 * 采集器号
	 */
    private Long collectorNumber;
	/**
	 * 累计值
	 */
    private BigDecimal cumulativeValue;
	/**
	 * 消耗值
	 */
    private BigDecimal consumptionValue;
	/**
	 * 累计流量
	 */
    private String totalFlow;
	/**
	 * 采集时间
	 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8")
    private Date pickTime;


}
